//
//  BOLLIN.h
//  Chart
//
//  Created by CaoJun on 14-9-1.
//
//

#ifndef __Chart__BOLLIN__
#define __Chart__BOLLIN__

#include "IndexData.h"
#include <vector>

namespace ytx {
    
    class BOLLIN : public IndexData
    {
    public:
        std::vector<std::vector<double> > originLineData;


        BOLLIN(IndexConfig indexConfig);

        virtual ~BOLLIN();

        virtual void calculate(Quotation * data);

        virtual void updateLastest(Quotation * data);

        std::vector<std::vector<double> > getOriginLineData();

        void setOriginLineData(std::vector<std::vector<double> > originLineData);

        virtual int getDataLength() const;
        
    };
}

#endif /* defined(__Chart__BOLLIN__) */
